net/netip.Addr.addr (field)
38 uses
net/netip (current package)
netip.go#L53: addr uint128
netip.go#L93: addr: uint128{0, 0xffff00000000 | uint64(addr[0])<<24 | uint64(addr[1])<<16 | uint64(addr[2])<<8 | uint64(addr[3])},
netip.go#L103: addr: uint128{
netip.go#L352: return uint8(ip.addr.lo >> ((3 - i) * 8))
netip.go#L358: return uint8(*(ip.addr.halves()[(i/8)%2]) >> ((7 - i%8) * 8))
netip.go#L364: return uint16(*(ip.addr.halves()[(i/4)%2]) >> ((3 - i%4) * 16))
netip.go#L418: hi1, hi2 := ip.addr.hi, ip2.addr.hi
netip.go#L425: lo1, lo2 := ip.addr.lo, ip2.addr.lo
netip.go#L458: return ip.Is6() && ip.addr.hi == 0 && ip.addr.lo>>32 == 0xffff
netip.go#L533: return ip.addr.hi == 0 && ip.addr.lo == 1
netip.go#L548: return ip.addr.hi>>(64-8) == 0xff // ip.v6(0) == 0xff
netip.go#L660: ip.addr = ip.addr.and(mask6(effectiveBits))
netip.go#L675: bePutUint64(a16[:8], ip.addr.hi)
netip.go#L676: bePutUint64(a16[8:], ip.addr.lo)
netip.go#L685: bePutUint32(a4[:], uint32(ip.addr.lo))
netip.go#L701: bePutUint32(ret[:], uint32(ip.addr.lo))
netip.go#L705: bePutUint64(ret[:8], ip.addr.hi)
netip.go#L706: bePutUint64(ret[8:], ip.addr.lo)
netip.go#L714: ip.addr = ip.addr.addOne()
netip.go#L716: if uint32(ip.addr.lo) == 0 {
netip.go#L721: if ip.addr.isZero() {
netip.go#L733: if uint32(ip.addr.lo) == 0 {
netip.go#L736: } else if ip.addr.isZero() {
netip.go#L739: ip.addr = ip.addr.subOne()
netip.go#L984: bePutUint32(b, uint32(ip.addr.lo))
netip.go#L988: bePutUint64(b[:8], ip.addr.hi)
netip.go#L989: bePutUint64(b[8:], ip.addr.lo)
netip.go#L1347: return uint32((ip.addr.lo^p.ip.addr.lo)>>((32-p.Bits())&63)) == 0
netip.go#L1352: return ip.addr.xor(p.ip.addr).and(mask6(p.Bits())).isZero()
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |